import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class CListener extends OperationListener {


    public CListener(Register r, AnswerLabel a) {
        super(r, a, '\0');
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        register.setRes(0);
        register.setOperation('\0');
        answer.reset();
        answer.loadDouble(0);
    }
}
